// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PUR_QUOTE_ORDER
// * CreateDate    : 2011/11/21 15:10:47
// * Creater       : CodeSmith
// * LastChangeDate: 2011/11/21 15:10:47
// * LastChanger   : 2011/11/21 15:10:47
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class PurQuoteOrderTable : TableInfo
    {
		public const string C_TableName = "PUR_QUOTE_ORDER";
		
		public const string C_QUOTE_ORDER_ID = "QUOTE_ORDER_ID";
		public const string C_PURCHASE_ORDER_ID = "PURCHASE_ORDER_ID";
		public const string C_SUPPLIER_ID = "SUPPLIER_ID";
		public const string C_QUOTE_ORDER_CODE = "QUOTE_ORDER_CODE";
		public const string C_QUOTE_DEPARTMENT = "QUOTE_DEPARTMENT";
		public const string C_QUOTE_PERSON = "QUOTE_PERSON";
		public const string C_QUOTE_TOTAL_AMOUNT = "QUOTE_TOTAL_AMOUNT";
		public const string C_CURRENCY = "CURRENCY";
		public const string C_QUOTE_DATE = "QUOTE_DATE";
		public const string C_DELIVERY_REQUIRED_DATE = "DELIVERY_REQUIRED_DATE";
		public const string C_DELIVERY_PLAN_DATE = "DELIVERY_PLAN_DATE";
		public const string C_QUOTE_EXPIRED_DATE = "QUOTE_EXPIRED_DATE";
		public const string C_PAYMENT_TYPE = "PAYMENT_TYPE";
		public const string C_REMARK = "REMARK";
		public const string C_IS_TAX = "IS_TAX";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_LAST_MODIFIED_DATE = "LAST_MODIFIED_DATE";
		public const string C_LAST_MODIFIED_BY = "LAST_MODIFIED_BY";
		public const string C_APPROVED_DATE = "APPROVED_DATE";
		public const string C_APPROVED_BY = "APPROVED_BY";
		public const string C_STATUS = "STATUS";
		public const string C_ATTACHED_FILE = "ATTACHED_FILE";
		
		public PurQuoteOrderTable()
        {
            _tableName = "PUR_QUOTE_ORDER";
        }
		
		protected static PurQuoteOrderTable _current;
        public static PurQuoteOrderTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new PurQuoteOrderTable();

            _current.Add(C_QUOTE_ORDER_ID, new ColumnInfo(C_QUOTE_ORDER_ID,"QuoteOrderId", true, typeof(string)));
            _current.Add(C_PURCHASE_ORDER_ID, new ColumnInfo(C_PURCHASE_ORDER_ID,"PurchaseOrderId", false, typeof(string)));
            _current.Add(C_SUPPLIER_ID, new ColumnInfo(C_SUPPLIER_ID,"SupplierId", false, typeof(string)));
            _current.Add(C_QUOTE_ORDER_CODE, new ColumnInfo(C_QUOTE_ORDER_CODE,"QuoteOrderCode", false, typeof(string)));
            _current.Add(C_QUOTE_DEPARTMENT, new ColumnInfo(C_QUOTE_DEPARTMENT,"QuoteDepartment", false, typeof(string)));
            _current.Add(C_QUOTE_PERSON, new ColumnInfo(C_QUOTE_PERSON,"QuotePerson", false, typeof(string)));
            _current.Add(C_QUOTE_TOTAL_AMOUNT, new ColumnInfo(C_QUOTE_TOTAL_AMOUNT,"QuoteTotalAmount", false, typeof(decimal)));
            _current.Add(C_CURRENCY, new ColumnInfo(C_CURRENCY,"Currency", false, typeof(string)));
            _current.Add(C_QUOTE_DATE, new ColumnInfo(C_QUOTE_DATE,"QuoteDate", false, typeof(DateTime)));
            _current.Add(C_DELIVERY_REQUIRED_DATE, new ColumnInfo(C_DELIVERY_REQUIRED_DATE,"DeliveryRequiredDate", false, typeof(DateTime)));
            _current.Add(C_DELIVERY_PLAN_DATE, new ColumnInfo(C_DELIVERY_PLAN_DATE,"DeliveryPlanDate", false, typeof(DateTime)));
            _current.Add(C_QUOTE_EXPIRED_DATE, new ColumnInfo(C_QUOTE_EXPIRED_DATE,"QuoteExpiredDate", false, typeof(DateTime)));
            _current.Add(C_PAYMENT_TYPE, new ColumnInfo(C_PAYMENT_TYPE,"PaymentType", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_IS_TAX, new ColumnInfo(C_IS_TAX,"IsTax", false, typeof(int)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_LAST_MODIFIED_DATE, new ColumnInfo(C_LAST_MODIFIED_DATE,"LastModifiedDate", false, typeof(DateTime)));
            _current.Add(C_LAST_MODIFIED_BY, new ColumnInfo(C_LAST_MODIFIED_BY,"LastModifiedBy", false, typeof(string)));
            _current.Add(C_APPROVED_DATE, new ColumnInfo(C_APPROVED_DATE,"ApprovedDate", false, typeof(DateTime)));
            _current.Add(C_APPROVED_BY, new ColumnInfo(C_APPROVED_BY,"ApprovedBy", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
            _current.Add(C_ATTACHED_FILE, new ColumnInfo(C_ATTACHED_FILE,"AttachedFile", false, typeof(string)));
			
		}
		
		public ColumnInfo QUOTE_ORDER_ID
        {
            get { return this[C_QUOTE_ORDER_ID]; }
        }
		
		public ColumnInfo PURCHASE_ORDER_ID
        {
            get { return this[C_PURCHASE_ORDER_ID]; }
        }
		
		public ColumnInfo SUPPLIER_ID
        {
            get { return this[C_SUPPLIER_ID]; }
        }
		
		public ColumnInfo QUOTE_ORDER_CODE
        {
            get { return this[C_QUOTE_ORDER_CODE]; }
        }
		
		public ColumnInfo QUOTE_DEPARTMENT
        {
            get { return this[C_QUOTE_DEPARTMENT]; }
        }
		
		public ColumnInfo QUOTE_PERSON
        {
            get { return this[C_QUOTE_PERSON]; }
        }
		
		public ColumnInfo QUOTE_TOTAL_AMOUNT
        {
            get { return this[C_QUOTE_TOTAL_AMOUNT]; }
        }
		
		public ColumnInfo CURRENCY
        {
            get { return this[C_CURRENCY]; }
        }
		
		public ColumnInfo QUOTE_DATE
        {
            get { return this[C_QUOTE_DATE]; }
        }
		
		public ColumnInfo DELIVERY_REQUIRED_DATE
        {
            get { return this[C_DELIVERY_REQUIRED_DATE]; }
        }
		
		public ColumnInfo DELIVERY_PLAN_DATE
        {
            get { return this[C_DELIVERY_PLAN_DATE]; }
        }
		
		public ColumnInfo QUOTE_EXPIRED_DATE
        {
            get { return this[C_QUOTE_EXPIRED_DATE]; }
        }
		
		public ColumnInfo PAYMENT_TYPE
        {
            get { return this[C_PAYMENT_TYPE]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo IS_TAX
        {
            get { return this[C_IS_TAX]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo LAST_MODIFIED_DATE
        {
            get { return this[C_LAST_MODIFIED_DATE]; }
        }
		
		public ColumnInfo LAST_MODIFIED_BY
        {
            get { return this[C_LAST_MODIFIED_BY]; }
        }
		
		public ColumnInfo APPROVED_DATE
        {
            get { return this[C_APPROVED_DATE]; }
        }
		
		public ColumnInfo APPROVED_BY
        {
            get { return this[C_APPROVED_BY]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		public ColumnInfo ATTACHED_FILE
        {
            get { return this[C_ATTACHED_FILE]; }
        }
		
		
		
	}
}

